package model

import "time"

type Model struct {
	ID        int `gorm:"primary_key"`
	CreatedAt time.Time
	UpdatedAt time.Time
	DeletedAt *time.Time `sql:"index"`
}

type Log struct {
	Id          int32 `gorm:"primary_key"`
	TeacherId   string
	TeacherName string
	Institute   string
	Reason      string
	CreateTime  time.Time
	CourseId    string
}

type Teacher struct {
	Id        int32 `gorm:"primary_key"`
	WxId      string
	Password  string
	Name      string
	Institute string
}

type Responder struct {
	Id        int32 `gorm:"primary_key"`
	CourseId  string
	StartTime time.Time
	EndTime   *time.Time
}
